package com.homelock.domain.sms;

import java.io.Serializable;
import java.util.Map;

/**
 * @author chenmfa
 * @version 创建时间：2017年12月25日 下午4:51:19
 * @description
 */
public class SmsSendBase implements Serializable {
    private static final long serialVersionUID = -1829523197505333116L;
    // 手机号码
    private String phoneNumber;
    // 短信参数
    private Map<String, String> smsVarMap;
    // 记录日志的标签
    private String msgTag;
    // 用户来源
    private Long sourceId;
    //
    private String sign;
    private String region;
    private String smsSubType;

    public SmsSendBase() {
    };

    public SmsSendBase(String phoneNumber, Map<String, String> smsVarMap, String msgTag, Long sourceId) {
        this.phoneNumber = phoneNumber;
        this.smsVarMap = smsVarMap;
        this.msgTag = "[" + msgTag + "][ALDY-MSG]";
        this.sourceId = sourceId;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public Map<String, String> getSmsVarMap() {
        return smsVarMap;
    }

    public void setSmsVarMap(Map<String, String> smsVarMap) {
        this.smsVarMap = smsVarMap;
    }

    public String getMsgTag() {
        return msgTag;
    }

    public void setMsgTag(String msgTag) {
        this.msgTag = msgTag;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public String getSmsSubType() {
        return smsSubType;
    }

    public void setSmsSubType(String smsSubType) {
        this.smsSubType = smsSubType;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }
}
